EDFA as a preamplifier for photoelectric detection applications to achieve the amplification of weak light signals can greatly avoid the introduction of noise. After amplification, a PIN-type photodetector is used to realize the photoelectric conversion. The PIN detector is simple in structure, more linear and more adaptable to temperature.